SET LIMB EFFECT

This command will apply a previously loaded FX effect onto the specified limb of an object.

  Syntax
SET LIMB EFFECT Object Number, Limb Number, Effect Number
  Parameters
Object Number
Integer
The object number
Limb Number
Integer
The limb number
Effect Number
Integer
The effect number to use

  Returns

This command does not return a value.

  Description

You can use this command to apply an FX effect to a single part of a model. You can apply different effects to different parts of the same model to create some stunning results.

  Example Code
backdrop off : cls : sync on : sync rate 0 : hide mouse:cls 0
load object "models\model.x",1
position object 1,0,0,0
cd "fx\bubble"
load effect "bubble.fx",1,1
if effect exist(1)=1 then SET LIMB EFFECT 1,6,1:SET LIMB EFFECT 1,9,1
while mouseclick()=0:sync:endwhile
delete object 1
delete effect 1
end
  See also

BASIC3D Commands Menu
Index